﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="login_admin" Debug="true" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Trang Quản Lý Địa Ốc Online</title>
    <style type="text/css">
        .style1
        {
            width: 472px;
        }
        .style2
        {
            width: 82px;
        }
        .style3
        {
            width: 228px;
        }
        .style4
        {
            color: #FFFFFF;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server">
    <center>
        <div style="width: 597px; text-align: center;">
    
            <br />
            <table class="style1" border="0" frame="void">
                <tr>
                    <td colspan="2" align="center" bgcolor="#5D7B9D" class="style4">
                        <strong>Login In Admin</strong></td>
                </tr>
                <tr>
                    <td class="style2" align="right" bgcolor="#F7F6F3" valign="top">
                        Tài Khoản:</td>
                    <td align="left" bgcolor="#F7F6F3" class="style3">
                        &nbsp; &nbsp;<asp:TextBox ID="TBUsername" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ControlToValidate="TBUsername" Display="Dynamic" 
                            ErrorMessage="Tài khoản không được trống" SetFocusOnError="True" 
                            ValidationGroup="login"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style2" align="right" bgcolor="#F7F6F3" valign="top">
                        Mật Khẩu:</td>
                    <td align="left" bgcolor="#F7F6F3" class="style3">
                        &nbsp; &nbsp;<asp:TextBox ID="TBPassword" runat="server" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ControlToValidate="TBPassword" Display="Dynamic" 
                            ErrorMessage="Mật khẩu không được trống" SetFocusOnError="True" 
                            ValidationGroup="login"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style2" bgcolor="#F7F6F3">
                        &nbsp;</td>
                    <td align="left" bgcolor="#F7F6F3" class="style3">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td colspan="2" align="center" bgcolor="#F7F6F3">
                        <asp:CheckBox ID="CBRemember" runat="server" Text="Remember me next time." />
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="right" bgcolor="#F7F6F3">
                        <asp:Button ID="BLogin" runat="server" onclick="BLogin_Click" Text="Login" 
                            ValidationGroup="login" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="left" bgcolor="#F7F6F3">
                        <asp:Label ID="LMessageError" runat="server" Font-Italic="True" ForeColor="Red" 
                            Text="Username hoặc password không hợp lệ." Visible="False"></asp:Label></td>
                </tr>
            </table>
    
        </div>
    </center>
    </form>
</body>
</html>
